projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
080434e
)
(internal_self_insert): Check Vauto_fill_chars.
author
Kenichi Handa
<handa@m17n.org>
Mon, 19 Oct 1998 00:40:10 +0000
(
00:40
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 19 Oct 1998 00:40:10 +0000
(
00:40
+0000)
src/cmds.c
patch
|
blob
|
history
diff --git
a/src/cmds.c
b/src/cmds.c
index e09261fc7896b8b256da11b0a0ec32ebc3e59485..c6a94b1f3b8b446338e872fa901895c6d3b3e57f 100644
(file)
--- a/
src/cmds.c
+++ b/
src/cmds.c
@@
-468,7
+468,9
@@
internal_self_insert (c, noautofill)
else
insert_and_inherit (str, len);
- if ((c == ' ' || c == '\n')
+ if ((CHAR_TABLE_P (Vauto_fill_chars)
+ ? !NILP (CHAR_TABLE_REF (Vauto_fill_chars, c))
+ : (c == ' ' || c == '\n'))
&& !noautofill
&& !NILP (current_buffer->auto_fill_function))
{